<?php
function addHeader($title){
$headerStart = "";
$headerStart .=<<<EOD
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">


<head>

<meta http-equiv="Content-Language" content="en-gb" />

<title> 
EOD;
$headerEnd = "";
$headerEnd .=<<<EOD
</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />

<!-- style sheet links -->
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="menu.css" />

</head>

<body>

<div id="headercontainer">
	<div id="header">
		<h1>Sycamore</h1>
	</div>
</div>

  <div id="menucontainer">
      <div id="menu">
	<div id="navcontainer">
	  <ul id="navlist">
	    <li><a title="Logout" href="index.html">Logout</a></li>
	    <li><a title="Help" href="index.html">Help</a></li>
	  </ul>
	</div>
      </div>
    </div>

<div id="content">
EOD;
	return ($headerStart . $title . $headerEnd);
}


// Generates the bottom of the page
  function addFooter()
  {
    $footer = "";
    $footer .= <<<EOD
</div>

<div id="footer">
<!--	web design by <a title="derby web design" href="http://www.tristarwebdesign.co.uk">tri-star web design</a> -->
<br></br>
</div>

</body>

</html>
EOD;
	return $footer;
  }

?>
